package com.softtown.modules.dapai.service;


import com.github.pagehelper.PageInfo;
import com.softtown.common.service.BaseService;
import com.softtown.modules.dapai.dto.*;
import com.softtown.modules.dapai.entity.CompCustomerEntity;
import com.softtown.modules.dapai.entity.CompCustomerPotentialEntity;
import com.softtown.modules.dapai.vo.CompCustomerPotentialByContactVO;
import com.softtown.modules.dapai.vo.CompCustomerPotentialVO;
import com.softtown.modules.dapai.vo.CompCustomerVO;
import com.softtown.modules.dapai.vo.CustomerContactsVO;


/**
 * @Author: Ding Ya Yong
 * @Description: 地区
 * @Date: 2021/12/24 21:18
 * @Param:
 * @return:
 **/
public interface CompCustomerPotentialService extends BaseService<CompCustomerPotentialEntity> {

    PageInfo<CompCustomerPotentialEntity> getPotentialPageList(CompCustomerPotentialDTO compCustomerPotentialDTO);
    PageInfo<CompCustomerPotentialByContactVO>  getPotentialContactList(CompCustomerPotentialByContactDTO compCustomerPotentialByContactDTO);

    CompCustomerPotentialVO getPotentialById(Long compId, Long id);
    void addPotential(CustomerPotentialAddOrUpdateDTO customerPotentialAddOrUpdateDTO);
    void updatePotential(CustomerPotentialAddOrUpdateDTO customerPotentialAddOrUpdateDTO);
    void deletePotential(Long compId, Long id);
    void transPotential(Long compId, Long id);


}
